package com.ruoyi.project.infobaseproject.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 项目及目标调整申请对象 info_project_target_adjust
 * 
 * @author ruoyi
 * @date 2023-04-19
 */
public class InfoProjectTargetAdjust extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 项目库id */
    @Excel(name = "项目库id")
    private Long baseProjectId;

    private Long baseProjectStagingId;

    /** 项目目标id */
    @Excel(name = "项目目标id")
    private Long baseProjectTargetId;

    private Long baseProjectTargetNewId;

    /** 申请原因 */
    @Excel(name = "申请原因")
    private String reasonAdjust;

    /** 附件url */
    @Excel(name = "附件url")
    private String fileUrl;

    /** 附件名称 */
    @Excel(name = "附件名称")
    private String fileName;

    /** 附件初始名称 */
    @Excel(name = "附件初始名称")
    private String fileInitialName;

    /** 是否调整项目信息 */
    @Excel(name = "是否调整项目信息")
    private Integer isAdjustProject;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    /** 是否调整目标 */
    @Excel(name = "是否调整目标")
    private Integer isAdjustTarget;

    /** 申请状态(0待主管审核 1 待财政审核 2通过3退回) */
    @Excel(name = "申请状态(0待主管审核 1 待财政审核 2通过3退回)")
    private Integer adjustStatus;

    private Integer projectAdjustStatus;

    private Integer targetAdjustStatus;
    private String adjustNode;

    private Integer isWho;

    public Long getBaseProjectStagingId() {
        return baseProjectStagingId;
    }

    public void setBaseProjectStagingId(Long baseProjectStagingId) {
        this.baseProjectStagingId = baseProjectStagingId;
    }

    public Long getBaseProjectTargetNewId() {
        return baseProjectTargetNewId;
    }

    public void setBaseProjectTargetNewId(Long baseProjectTargetNewId) {
        this.baseProjectTargetNewId = baseProjectTargetNewId;
    }

    public Integer getIsWho() {
        return isWho;
    }

    public void setIsWho(Integer isWho) {
        this.isWho = isWho;
    }

    public String getAdjustNode() {
        return adjustNode;
    }

    public void setAdjustNode(String adjustNode) {
        this.adjustNode = adjustNode;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getProjectAdjustStatus() {
        return projectAdjustStatus;
    }

    public void setProjectAdjustStatus(Integer projectAdjustStatus) {
        this.projectAdjustStatus = projectAdjustStatus;
    }

    public Integer getTargetAdjustStatus() {
        return targetAdjustStatus;
    }

    public void setTargetAdjustStatus(Integer targetAdjustStatus) {
        this.targetAdjustStatus = targetAdjustStatus;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBaseProjectId(Long baseProjectId) 
    {
        this.baseProjectId = baseProjectId;
    }

    public Long getBaseProjectId() 
    {
        return baseProjectId;
    }
    public void setBaseProjectTargetId(Long baseProjectTargetId) 
    {
        this.baseProjectTargetId = baseProjectTargetId;
    }

    public Long getBaseProjectTargetId() 
    {
        return baseProjectTargetId;
    }
    public void setReasonAdjust(String reasonAdjust) 
    {
        this.reasonAdjust = reasonAdjust;
    }

    public String getReasonAdjust() 
    {
        return reasonAdjust;
    }
    public void setFileUrl(String fileUrl) 
    {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl() 
    {
        return fileUrl;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setFileInitialName(String fileInitialName) 
    {
        this.fileInitialName = fileInitialName;
    }

    public String getFileInitialName() 
    {
        return fileInitialName;
    }
    public void setIsAdjustProject(Integer isAdjustProject) 
    {
        this.isAdjustProject = isAdjustProject;
    }

    public Integer getIsAdjustProject() 
    {
        return isAdjustProject;
    }
    public void setIsAdjustTarget(Integer isAdjustTarget) 
    {
        this.isAdjustTarget = isAdjustTarget;
    }

    public Integer getIsAdjustTarget() 
    {
        return isAdjustTarget;
    }
    public void setAdjustStatus(Integer adjustStatus) 
    {
        this.adjustStatus = adjustStatus;
    }

    public Integer getAdjustStatus() 
    {
        return adjustStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("baseProjectId", getBaseProjectId())
            .append("baseProjectTargetId", getBaseProjectTargetId())
            .append("reasonAdjust", getReasonAdjust())
            .append("fileUrl", getFileUrl())
            .append("fileName", getFileName())
            .append("fileInitialName", getFileInitialName())
            .append("isAdjustProject", getIsAdjustProject())
            .append("isAdjustTarget", getIsAdjustTarget())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("adjustStatus", getAdjustStatus())
            .toString();
    }
}
